import { atom } from 'jotai';

// Counter atom
export const counterAtom = atom(0);

// Theme atom
export const themeAtom = atom<'light' | 'dark'>('light');

// User atom
export const userAtom = atom<{
  id: string;
  name: string;
} | null>(null);